package ai.fabu.dataplatform.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class IndexController {

    /**
     * index.html
     *
     * @return model
     */
    @GetMapping(value = {"/dashboard/main", "/"})
    public String index() {
        //System.out.println("test route");
        return "index";
    }
//    @GetMapping(value = {"/dashboard/main", "/"})
//    public String index() {
////        System.out.println("hello");
//        return "index";
//    }
}
